package com.bocai.kelalacar.ui.car.main.contract;


import com.bocai.kelalacar.base.BaseView;
import com.bocai.kelalacar.bean.MainListBean;
import com.bocai.kelalacar.bean.PhoneTypeBean;
import com.bocai.kelalacar.bean.UserBean;

/**
 * Created by yuanfei on 2017/6/6.
 */

public interface MainContract {

    interface view extends BaseView{

        void getCode(String code);

        void getType(PhoneTypeBean typeBean);

        void getUser(UserBean userBean);

        void setBtnCode(int index);

        void getHomeListSuccess(MainListBean bean);

    }
    abstract static class presenter  {


        public abstract void sendCode(String PhoneNumber, String RequestType);

        public abstract void getPhoneType(String PhoneNumber);

        public abstract void register(String phone,String pw,String code,int type,int show);

        public abstract void login(String phone,String pw,String MobileDevice,String MemberType);

        public abstract void setCode();

        public abstract void homeList(String pageIndex,String pageSize,String time,String seats,String originCity,String arriveCity);

        public abstract void getUser();

    }
}
